home *** CD-ROM | disk | FTP | other *** search
/ Hackers Magazine 57 / CdHackersMagazineNr57.iso / Software / Programming / RJTextEd.exe / {app} / InstallData / Syntax / VBScript.ini < prev    next >
Encoding:
INI File  |  2009-08-25  |  7.9 KB  |  227 lines

  1. [UserMenu]
  2. 1=Abs(number)|Abs()+m
  3. 2=Array(arglist)|Array()+m
  4. 3=Asc(string)|Asc()+m
  5. 4=Atn(number)|Atn()+m
  6. 5=CBool(expression)|CBool()+m
  7. 6=CByte(expression)|CByte()+m
  8. 7=CCur(expression)|CCur()+m
  9. 8=CDate(date)|CDate()+m
  10. 9=CDbl(expression)|CDbl()+m
  11. 10=Chr(charcode)|Chr()+m
  12. 11=CInt(expression)|CInt()+m
  13. 12=CLng(expression)|CLng()+m
  14. 13=Cos(number)|Cos()+m
  15. 14=CreateObject(servername.typename[, location])|CreateObject()+m
  16. 15=CSng(expression)|CSng()+m
  17. 16=CStr(expression)|CStr()+m
  18. 17=DateAdd(interval, number, date)|DateAdd()+m
  19. 18=DateDiff(interval, date1, date2 [,firstdayofweek[, firstweekofyear]])|DateDiff()+m
  20. 19=DatePart(interval, date[, firstdayofweek[, firstweekofyear]])|DatePart()+m
  21. 20=DateSerial(year, month, day)|DateSerial()+m
  22. 21=DateValue(date)|DateValue()+m
  23. 22=Day(date)|Day()+m
  24. 23=Debug.Write([str1 [, str2 [, ... [, strN]]]])|Debug.Write()+m
  25. 24=Debug.WriteLine([str1 [, str2 [, ... [, strN]]]])|Debug.WriteLine()+m
  26. 25=Err.Raise(number, source, description, helpfile, helpcontext)|Err.Raise()+m
  27. 26=Escape(charString)|Escape()+m
  28. 27=Eval(expression)|Eval()+m
  29. 28=Exp(number)|Exp()+m
  30. 29=Filter(InputStrings, Value[, Include[, Compare]])|Filter()+m
  31. 30=Fix(number)|Fix()+m
  32. 31=FormatCurrency(Expression[,DigitsAfterDecimal [,LeadingDigit [,ParensForNegativeNumbers [,GroupDigits]]]])|FormatCurrency()+m
  33. 32=FormatDateTime(Date[, NamedFormat])|FormatDateTime()+m
  34. 33=FormatNumber(Expression[,DigitsAfterDecimal [,LeadingDigit [,ParensForNegativeNumbers [,GroupDigits]]]])|FormatNumber()+m
  35. 34=FormatPercent(Expression[,DigitsAfterDecimal [,LeadingDigit [,ParensForNegativeNumbers [,GroupDigits]]]])|FormatPercent()+m
  36. 35=GetObject([pathname] [, class])|GetObject()+m
  37. 36=GetRef(procname)|GetRef()+m
  38. 37=Hex(number)|Hex()+m
  39. 38=Hour(time)|Hour()+m
  40. 39=InputBox(prompt[, title][, default][, xpos][, ypos][, helpfile, context])|InputBox()+m
  41. 40=InStr([start, ]string1, string2[, compare])|InStr()+m
  42. 41=InStrRev(string1, string2[, start[, compare]])|InStrRev()+m
  43. 42=Int(number)|Int()+m
  44. 43=IsArray(varname)|IsArray()+m
  45. 44=IsDate(expression)|IsDate()+m
  46. 45=IsEmpty(expression)|IsEmpty()+m
  47. 46=IsNull(expression)|IsNull()+m
  48. 47=IsNumeric(expression)|IsNumeric()+m
  49. 48=IsObject(expression)|IsObject()+m
  50. 49=Join(list[, delimiter])|Join()+m
  51. 50=LBound(arrayname[, dimension])|LBound()+m
  52. 51=LCase(string)|LCase()+m
  53. 52=Left(string, length)|Left()+m
  54. 53=Len(string|varname) | "Len()+m
  55. 54=LoadPicture(picturename)|LoadPicture()+m
  56. 55=Log(number)|Log()+m
  57. 56=LTrim(string)|LTrim()+m
  58. 57=Mid(string, start[, length])|Mid()+m
  59. 58=Minute(time)|Minute()+m
  60. 59=Month(date)|Month()+m
  61. 60=MonthName(month[, abbreviate])|MonthName()+m
  62. 61=MsgBox(prompt[, buttons][, title][, helpfile, context])|MsgBox()+m
  63. 62=Oct(number)|Oct()+m
  64. 63=regExp.Execute(string)|regExp.Execute()+m
  65. 64=regExp.Replace(string1, string2)|regExp.Replace()+m
  66. 65=regExp.Test(string)|regExp.Test()+m
  67. 66=Replace(expression, find, replacewith[, start[, count[, compare]]])|Replace()+m
  68. 67=RGB(red, green, blue)|RGB()+m
  69. 68=Right(string, length)|Right()+m
  70. 69=Round(expression[, numdecimalplaces])|Round()+m
  71. 70=RTrim(string)|RTrim()+m
  72. 71=Second(time)|Second()+m
  73. 72=SetLocal(lcid)|SetLocal()+m
  74. 73=Sgn(number)|Sgn()+m
  75. 74=Sin(number)|Sin()+m
  76. 75=Space(number)|Space()+m
  77. 76=Split(expression[, delimiter[, count[, compare]]])|Split()+m
  78. 77=Sqr(number)|Sqr()+m
  79. 78=StrComp(string1, string2[, compare])|StrComp()+m
  80. 79=String(number, character)|String()+m
  81. 80=StrReverse(string1)|StrReverse()+m
  82. 81=Tan(number)|Tan()+m
  83. 82=TimeSerial(hour, minute, second)|TimeSerial()+m
  84. 83=TimeValue(time)|TimeValue()+m
  85. 84=Trim(string)|Trim()+m
  86. 85=TypeName(varname)|TypeName()+m
  87. 86=UBound(arrayname[, dimension])|UBound()+m
  88. 87=UCase(string)|UCase()+m
  89. 88=Unescape(charString)|Unescape()+m
  90. 89=VarType(varname)|VarType()+m
  91. 90=Weekday(date, [firstdayofweek])|Weekday()+m
  92. 91=WeekdayName(weekday, abbreviate, firstdayofweek)|WeekdayName()+m
  93. 92=Year(date)|Year()+m
  94.  
  95. [AutoComplete]
  96. Debug.=Write([str1 [, str2 [, ... [, strN]]]])|Write+m##WriteLine([str1 [, str2 [, ... [, strN]]]])|WriteLine+m##
  97. Err.=Clear|Clear+m##Description|Description+p##HelpContext|HelpContext+p##HelpFile|HelpFile+p##Number|Number+p##Raise(number, source, description, helpfile, helpcontext)|Raise+m##Source|Source+p##
  98. Match.=FirstIndex|FirstIndex+p##Length|Length+p##Value|Value+p##
  99. regEx.=Execute(string)|Execute+m##Global|Global+p##IgnoreCase|IgnoreCase+p##Pattern|Pattern+p##Replace(string1, string2)|Replace+m##Test(string)|Test+m##
  100.  
  101. [MultiHighlight]
  102. Syntax=
  103. File=
  104.  
  105. [Comment]
  106. 1=*************************************************************
  107. 2=<b>Syntax:</b> VBScript 5.6
  108. 3=<b>Author:</b> Rickard Johansson
  109. 4=<b>Date:</b> 2009-08-25
  110. 5=
  111. 6=<b>Recommended colors:</b>
  112. 7=This syntax definition is included with the main program
  113. 8=installation. So the recommended colors are already set
  114. 9=after the program is installed.
  115. 10=*************************************************************
  116.  
  117. [Hints]
  118. 1=Abs(number)
  119. 2=Array(arglist)
  120. 3=Asc(string)
  121. 4=Atn(number)
  122. 5=CBool(expression)
  123. 6=CByte(expression)
  124. 7=CCur(expression)
  125. 8=CDate(date)
  126. 9=CDbl(expression)
  127. 10=Chr(charcode)
  128. 11=CInt(expression)
  129. 12=CLng(expression)
  130. 13=Cos(number)
  131. 14=CreateObject(servername.typename[, location])
  132. 15=CSng(expression)
  133. 16=CStr(expression)
  134. 17=DateAdd(interval, number, date)
  135. 18=DateDiff(interval, date1, date2 [,firstdayofweek[, firstweekofyear]])
  136. 19=DatePart(interval, date[, firstdayofweek[, firstweekofyear]])
  137. 20=DateSerial(year, month, day)
  138. 21=DateValue(date)
  139. 22=Day(date)
  140. 23=Debug.Write([str1 [, str2 [, ... [, strN]]]])
  141. 24=Debug.WriteLine([str1 [, str2 [, ... [, strN]]]])
  142. 25=Err.Raise(number, source, description, helpfile, helpcontext)
  143. 26=Escape(charString)
  144. 27=Eval(expression)
  145. 28=Exp(number)
  146. 29=Filter(InputStrings, Value[, Include[, Compare]])
  147. 30=Fix(number)
  148. 31=FormatCurrency(Expression[,DigitsAfterDecimal [,LeadingDigit [,ParensForNegativeNumbers [,GroupDigits]]]])
  149. 32=FormatDateTime(Date[, NamedFormat])
  150. 33=FormatNumber(Expression[,DigitsAfterDecimal [,LeadingDigit [,ParensForNegativeNumbers [,GroupDigits]]]])
  151. 34=FormatPercent(Expression[,DigitsAfterDecimal [,LeadingDigit [,ParensForNegativeNumbers [,GroupDigits]]]])
  152. 35=GetObject([pathname] [, class])
  153. 36=GetRef(procname)
  154. 37=Hex(number)
  155. 38=Hour(time)
  156. 39=InputBox(prompt[, title][, default][, xpos][, ypos][, helpfile, context])
  157. 40=InStr([start, ]string1, string2[, compare])
  158. 41=InStrRev(string1, string2[, start[, compare]])
  159. 42=Int(number)
  160. 43=IsArray(varname)
  161. 44=IsDate(expression)
  162. 45=IsEmpty(expression)
  163. 46=IsNull(expression)
  164. 47=IsNumeric(expression)
  165. 48=IsObject(expression)
  166. 49=Join(list[, delimiter])
  167. 50=LBound(arrayname[, dimension])
  168. 51=LCase(string)
  169. 52=Left(string, length)
  170. 53=Len(string | varname)
  171. 54=LoadPicture(picturename)
  172. 55=Log(number)
  173. 56=LTrim(string)
  174. 57=Mid(string, start[, length])
  175. 58=Minute(time)
  176. 59=Month(date)
  177. 60=MonthName(month[, abbreviate])
  178. 61=MsgBox(prompt[, buttons][, title][, helpfile, context])
  179. 62=Oct(number)
  180. 63=regExp.Execute(string)
  181. 64=regExp.Replace(string1, string2)
  182. 65=regExp.Test(string)
  183. 66=Replace(expression, find, replacewith[, start[, count[, compare]]])
  184. 67=RGB(red, green, blue)
  185. 68=Right(string, length)
  186. 69=Round(expression[, numdecimalplaces])
  187. 70=RTrim(string)
  188. 71=Second(time)
  189. 72=SetLocal(lcid)
  190. 73=Sgn(number)
  191. 74=Sin(number)
  192. 75=Space(number)
  193. 76=Split(expression[, delimiter[, count[, compare]]])
  194. 77=Sqr(number)
  195. 78=StrComp(string1, string2[, compare])
  196. 79=String(number, character)
  197. 80=StrReverse(string1)
  198. 81=Tan(number)
  199. 82=TimeSerial(hour, minute, second)
  200. 83=TimeValue(time)
  201. 84=Trim(string)
  202. 85=TypeName(varname)
  203. 86=UBound(arrayname[, dimension])
  204. 87=UCase(string)
  205. 88=Unescape(charString)
  206. 89=VarType(varname)
  207. 90=Weekday(date, [firstdayofweek])
  208. 91=WeekdayName(weekday, abbreviate, firstdayofweek)
  209. 92=Year(date)
  210.  
  211. [Sample]
  212. 1=' creating a date (2 times)
  213. 2=Dim datMyDate
  214. 3=datMyDate = #5/16/99 12:30 PM#
  215. 4=datMyDate = CDate("5/16/99 12:30 PM")
  216. 5=
  217. 6=' Null
  218. 7=Dim x
  219. 8=x = Null
  220. 9=If isNull(x) Then ' do *not* use "If x = Null Then" !!!!
  221. 10=MsgBox "x = Null"
  222. 11=End If
  223. 12=
  224. 13=
  225. 14=
  226.  
  227.